package com.wanmait.recruitment.mapper;

import com.wanmait.recruitment.pojo.Subscribe;
import com.wanmait.recruitment.pojo.Userinfo;

import java.util.List;

public interface SubscribeMapper {
    int deleteById(Integer id);

    int insert(Subscribe subscribe);

    int insertSelective(Subscribe subscribe);

    Subscribe selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Subscribe record);

    int updateByPrimaryKey(Subscribe subscribe);

    List<Subscribe> selectByUserinfo(Userinfo userinfo);

    Integer selectSubscribeCount();
}